package com.qingmeng.applyjob.mapper;

import com.qingmeng.applyjob.model.UserTeacherRelation;
import com.qingmeng.applyjob.model.UserTeacherRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserTeacherRelationMapper {
    long countByExample(UserTeacherRelationExample example);

    int deleteByExample(UserTeacherRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserTeacherRelation record);

    int insertSelective(UserTeacherRelation record);

    List<UserTeacherRelation> selectByExample(UserTeacherRelationExample example);

    UserTeacherRelation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserTeacherRelation record, @Param("example") UserTeacherRelationExample example);

    int updateByExample(@Param("record") UserTeacherRelation record, @Param("example") UserTeacherRelationExample example);

    int updateByPrimaryKeySelective(UserTeacherRelation record);

    int updateByPrimaryKey(UserTeacherRelation record);
}